$border: 1px solid var(--el-border-color-light);

/* el-dialog */
.el-dialog {
  .el-dialog__header {
    padding: 15px 20px;
    margin: 0;
    border-bottom: $border;
  }

  .el-dialog__body {
    padding: 20px;
    overflow: auto;
  }

  .el-dialog__footer {
    padding: 15px;
    border-top: $border;
  }
}

/** el-drawer */
.el-drawer {
  .el-drawer__header {
    padding: 15px 20px;
    margin: 0;
    color: inherit;
    border-bottom: $border;
  }

  .el-drawer__body {
    padding: 20px;
  }

  .el-drawer__footer {
    padding: 15px;
    border-top: $border;
  }
}

// 抽屉和对话框底部按钮区域
.dialog-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

// 按钮
.el-button.is-link + .el-button.is-link {
  margin-left: 5px;
}

// 表格
.el-table {
  // 单选 选中行
  tr.checked-row {
    td:first-child {
      background: url("data:image/svg+xml;charset=utf-8,%3Csvg t='1757571184839' fill='%234080ff' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='7079' width='60' height='60'%3E%3Cpath d='M447.711811 862.823134 127.068024 528.812921l82.21242-67.503417 185.41285 148.896168c76.017324-92.443435 244.701165-276.0655 477.455229-422.048315l19.565615 46.298466C678.076456 435.323667 503.19445 718.258621 447.711811 862.823134L447.711811 862.823134 447.711811 862.823134zM447.711811 862.823134' p-id='7080'%3E%3C/path%3E%3C/svg%3E")
        no-repeat 15px center / 24px;
    }
  }
}
